<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Shops
 *
 * @property int $id
 * @property int $user_id 用户id
 * @property string|null $name 店铺名称
 * @property string|null $desc 店铺简介
 * @property int $thumb_id 缩略图
 * @property string|null $contact 联系电话
 * @property string|null $contact_people 联系人
 * @property string|null $province 省份
 * @property string|null $city 城市
 * @property string|null $area 地区
 * @property string|null $address 详细地址
 * @property string|null $open_license 营业执照
 * @property int $open_license_img_id 营业执照的图片
 * @property int $sort 排序 数值越小越靠前
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @property string $shipping_way 取货方式：self自提，mail商家配送
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\Shops onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereArea($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereContact($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereContactPeople($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereOpenLicense($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereOpenLicenseImgId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereProvince($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereShippingWay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereThumbId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereUserId($value)
 * @method static \Illuminate\Database\Query\Builder|\App\Shops withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\Shops withoutTrashed()
 * @mixin \Eloquent
 * @property float $lng 经度
 * @property float $lat 纬度
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereLat($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Shops whereLng($value)
 */
class Shops extends Model
{
    protected $table = 'shops';
    use SoftDeletes;
}
